<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include  file="header.jsp" %>
<script type="text/javascript" src="/BlogSystem/admin/fckeditor/fckeditor.js"></script>	
<script type="text/javascript">
		window.onload = function()
		{
		var oFCKeditor = new FCKeditor( 'content' ) ;
		oFCKeditor.BasePath = "/BlogSystem/admin/fckeditor/" ;
		oFCKeditor.ToolbarSet = 'Default' ;
		oFCKeditor.Height=400;
		oFCKeditor.ReplaceTextarea() ;
		}
</script>
<h2>发博文</h2>
<form name="BlogForm" action="/BlogSystem/BlogServlet" method="post">
<table id="tab">
<tr>
    <td>主题: </td>
    <td><input type="text" name="title" value="" size="50" maxlength="100"/>
    <input type="hidden" name="method" value="addBlog" />
    
    </td>
</tr>

<tr>
    <td>分类: </td>
    <td>  <select name="categoryId">
    <option value="4" >Struts 2.x</option>
    <option value="1" >Java SE</option>
    <option value="2" >Java Web</option>
    <option value="3" >Hibernate 3.X</option>
    </select>
</td>
</tr>


<tr>
		    <td colspan="2">内容: <br/>
		<textarea name="content" rows="18" cols="200"></textarea>

    </td>
</tr>

<tr>
    <td colspan="2">
					<input type="submit" name="submit" value="创建"/>
		    </td>
</tr>
</table>
</form>
<%@ include  file="footer.jsp" %>